package com.cskaoyan.service.market;

import com.cskaoyan.bean.market.Category;
import com.cskaoyan.bo.market.CategoryCreateBo;
import com.cskaoyan.vo.market.CategoryCreateVo;
import com.cskaoyan.vo.market.CategoryL1Vo;
import com.cskaoyan.vo.market.CategoryVo;

import java.util.List;
import java.util.Map;

/**
 * @program: mall
 * @description:
 * @author: Mr.Mengmeng
 * @create: 2021-04-09 22:59
 **/

public interface CategoryService {

    List<CategoryVo> categoryList();

    int categoryUpdate(CategoryVo category);

    void deleteCategory(Category category);

    List<CategoryL1Vo> categoryL1();

    CategoryCreateVo createCategory(CategoryCreateBo categoryCreateBo);

    Map<String, Object> wxCurrentQuery(Integer id);

    Map<String, Object> wxIndexQuery();
}
